package com.ghp.admin;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import static com.ghp.common.constants.SystemConstants.MAPPER_PACKAGE_PATH;

/**
 * @author ghp
 * @title
 * @description
 */
@SpringBootApplication
@MapperScan(MAPPER_PACKAGE_PATH)
@EnableDubbo
@EnableTransactionManagement
public class AdminApplicationRun {
    public static void main(String[] args) {
        SpringApplication.run(AdminApplicationRun.class, args);
    }
}
